# Maintainer: Dekedro <dekedro@protonmail.com>
pkgname=dwl
pkgver=0.7
pkgrel=0
pkgdesc="dwm for wayland"
url="https://codeberg.org/dwl/dwl"
arch="all"
license="GPL-3.0-or-later"
makedepends="wlroots-dev wayland-protocols"
options="!check" # no tests
subpackages="$pkgname-doc"
source="https://codeberg.org/dwl/dwl/releases/download/v$pkgver/dwl-v$pkgver.tar.gz
	xwayland.patch
	"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
d2ec9467bb7758ea52e0face555cb505624062eb66c8959b59e715b7d1c7bb74c649029f365c9bfd07d7b5806fdef018f555d7e64bd62e7e413ead45b5d73986  dwl-v0.7.tar.gz
8f3dbdbb7dfbfd9ec787f6efff3e1e7370942302a42288e0605e6143df47fcfc2b9e6209182dc5aa421d3719396fbd5d8e60eb68eead99d14a6df5132357a285  xwayland.patch
"
